﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PurchaseReceiveInternationalDisplay.aspx.cs"
    Inherits="Main_Inventory_PurchaseReceived_PurchaseReceiveInternationalDisplay" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="AjaxControl" %>
<%@ Register Src="~/User Controls/PageHeading.ascx" TagName="heading" TagPrefix="acc" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../../../Styles/accounts.css" rel="Stylesheet" type="text/css" />
    <script src="../../../JavaScript/jquery-1.4.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $('.tabs a').click(function () {
                switch_tabs($(this));
            });
            switch_tabs($('.defaulttab'));
        });
        function switch_tabs(obj) {
            $('.tab-content').hide();
            $('.tabs a').removeClass("selected");
            var id = obj.attr("rel");
            $('#' + id).show();
            obj.addClass("selected");
        }
    </script>
    <style type="text/css">
        #wrapper
        {
            margin-left: 1%;
            margin-top: 15px;
        }
        ul.tabs
        {
            margin: 0;
            padding: 0;
        }
        ul.tabs li
        {
            display: block;
            float: left;
            padding: 0 5px;
        }
        ul.tabs li a
        {
            display: block;
            float: left;
            padding: 5px;
            font-size: 0.8em;
            background-color: #e0e0e0;
            color: #666;
            text-decoration: none;
            height: 12px;
        }
        .selected
        {
            font-weight: bold;
        }
        .tab-content
        {
            clear: both;
            border: 1px solid #ddd;
            padding: 10px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true" EnablePartialRendering="true">
        </asp:ScriptManager>
        <acc:heading ID="pagehead" runat="server" HeadingText="International Purchase Receive" />
        <div id="maindiv" style="margin-top: 10px; width: 99%;">
            <div style="text-align: center; height: 5px; width: 50%; margin-left: 22%; margin-right: 25%">
                <asp:Label ID="lblMsg" runat="server" Font-Bold="true"></asp:Label>
            </div>
            <div style="margin-left: 2%;">
                <table class="tablecontent" style="width: 99%; text-align: left;">
                    <tr>
                        <td class="headtd" colspan="4">
                            Purchase Received
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 20%; font-weight: bold;">
                            P.O. Number
                        </td>
                        <td align="left" style="width: 30%;">
                            <asp:Label ID="lblPONumber" runat="server"></asp:Label>
                        </td>
                        <td style="font-weight: bold; width: 15%;">
                            Supplier
                        </td>
                        <td align="left" style="width: 35%;">
                            <asp:Label ID="lblSupplier" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style="font-weight: bold; width: 20%;">
                            Voucher No.
                        </td>
                        <td align="left" style="width: 30%;">
                            <asp:Label ID="lblvouno" runat="server"></asp:Label>
                        </td>
                        <td style="font-weight: bold; width: 15%;">
                            Invoice No.
                        </td>
                        <td align="left" style="width: 35%;">
                            <asp:Label ID="lblinvno" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style="font-weight: bold; width: 20%;">
                            Invoice Date
                        </td>
                        <td align="left" style="width: 30%;">
                            <asp:Label ID="lbldate" runat="server"></asp:Label>
                        </td>
                        <td style="font-weight: bold; width: 15%;">
                            Tax Group
                        </td>
                        <td align="left" style="width: 35%;">
                            <asp:Label ID="lbltaxgroup" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style="font-weight: bold; width: 20%;">
                            Bill Reference.
                        </td>
                        <td align="left" style="width: 30%;">
                            <asp:Label ID="lblbilref" runat="server"></asp:Label>
                        </td>
                        <td style="font-weight: bold; width: 15%;">
                            Mode of Payment.
                        </td>
                        <td align="left" style="width: 35%;">
                            <asp:Label ID="lblmodeofpay" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style="font-weight: bold; width: 20%;">
                            Folio Number
                        </td>
                        <td align="left" style="width: 30%;">
                            <asp:Label ID="lblFolioNo" runat="server"></asp:Label>
                        </td>
                        <td style="font-weight: bold; width: 15%;">
                            Currency
                        </td>
                        <td align="left" style="width: 35%;">
                            <asp:Label ID="LblCurrency" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style="font-weight: bold; width: 20%;">
                            Purchase Received Date
                        </td>
                        <td align="left" style="width: 30%;">
                            <asp:Label ID="lblPurchaseReceDate" runat="server"></asp:Label>
                        </td>
                        <td style="font-weight: bold; width: 15%;">
                            Invoice Value
                        </td>
                        <td align="left" style="width: 35%;">
                            <asp:Label ID="lblInvoicevalue" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style="font-weight: bold; width: 20%;">
                            Exchange Rate
                        </td>
                        <td align="left" style="width: 30%;">
                            <asp:Label ID="lblExchangerate" runat="server"></asp:Label>
                        </td>
                        <td style="font-weight: bold; width: 15%;">
                        </td>
                        <td align="left" style="width: 35%;">
                        </td>
                    </tr>
                </table>
            </div>
            <div style="width: 97%; margin-left: 2%; overflow-x: scroll;">
                <table id="tbl_purReceived" runat="server" class="tablecontent" style="width: 100%;
                    margin-top: 10px;">
                    <tr style="border-bottom:1px solid #818181;">
                        <td style="font-weight: bold; border-left: 1px solid #818181;">
                            ItemName/ItemCode
                        </td>
                        <td style="font-weight: bold; border-left: 1px solid #818181;">
                            Unit
                        </td>
                        <td style="font-weight: bold; border-left: 1px solid #818181;">
                            Unit Price
                            <asp:Label ID="lblCurrencyUImport" runat="server"></asp:Label>
                        </td>
                        <td style="font-weight: bold; border-left: 1px solid #818181;">
                            Qty
                        </td>
                        <td style="font-weight: bold; border-left: 1px solid #818181;">
                            Extended Value
                            <asp:Label ID="lblCurrencyImport" runat="server"></asp:Label>
                        </td>
                        <td style="font-weight: bold; border-left: 1px solid #818181;">
                            Unit Price (INR)
                        </td>
                        <td style="font-weight: bold; border-left: 1px solid #818181;">
                            Invoice Value (INR)
                        </td>
                        <td style="font-weight: bold; border-left: 1px solid #818181;">
                            Asses Value (INR)
                        </td>
                        <td style="font-weight: bold; border-left: 1px solid #818181;">
                            CVD (INR)
                        </td>
                        <td style="font-weight: bold; border-left: 1px solid #818181;">
                            CVD Educess 2% (INR)
                        </td>
                        <td style="font-weight: bold; border-left: 1px solid #818181;">
                            CVD H.Educess 1% (INR)
                        </td>
                        <td style="font-weight: bold; border-left: 1px solid #818181;">
                            Total Duty (INR)
                        </td>
                        <td style="font-weight: bold; border-left: 1px solid #818181;">
                            Custom Educ 2% (INR)
                        </td>
                        <td style="font-weight: bold; border-left: 1px solid #818181;">
                            Custom H.Educ 1% (INR)
                        </td>
                        <td style="font-weight: bold; border-left: 1px solid #818181;">
                            Addl Duty 4% (INR)
                        </td>
                        <td style="font-weight: bold; border-left: 1px solid #818181;">
                            Grand Total Duty (INR)
                        </td>
                        <td style="font-weight: bold; border-left: 1px solid #818181;">
                            Clearing/Freight/Packaging/Insurance/Others (INR)
                        </td>
                        <td style="font-weight: bold; border-left: 1px solid #818181;">
                            Total Landed Cost (INR)
                        </td>
                        <td style="font-weight: bold; border-left: 1px solid #818181; display: none;">
                            Total Inventory Cost
                        </td>
                    </tr>
                </table>
            </div>
            <div style="margin-left: 1%; width: 98%;">
                <div id="wrapper">
                    <ul class="tabs">
                        <li><a href="javascript:void(0)" class="defaulttab" rel="tabGeneral">General</a></li>
                        <li><a href="javascript:void(0)" rel="tabOther">Other</a></li>
                    </ul>
                    <div class="tab-content" id="tabGeneral" runat="server">
                        <table class="tablecontent" style="width: 100%; margin-top: 5px;">
                            <tr>
                                <td style="width: 50%;">
                                    <table style="width: 80%;">
                                        <tr>
                                            <td style="font-weight: bold;">
                                                Basic Custom Duty (BCD)
                                            </td>
                                            <td align="right">
                                                <asp:Label ID="lblbcd" runat="server" Style="text-align: right;" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="font-weight: bold;">
                                                Countervailing Duties (CVD)
                                            </td>
                                            <td align="right">
                                                <asp:Label ID="lblcvd" runat="server" Style="text-align: right;" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="font-weight: bold;">
                                                Assess Value
                                            </td>
                                            <td align="right">
                                                <asp:Label ID="lblassessvalue" runat="server" Style="text-align: right;" />
                                            </td>
                                        </tr>
                                        <tr style="display: none;">
                                            <td style="font-weight: bold;">
                                                Addl Duty
                                            </td>
                                            <td align="right">
                                                <asp:Label ID="lbladdlduty" runat="server" Style="text-align: right;" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="font-weight: bold;">
                                                H.Edu cess on CVD
                                            </td>
                                            <td align="right">
                                                <asp:Label ID="lblheducessoncvd" runat="server" Style="text-align: right;" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="font-weight: bold;">
                                                Edu cess on CVD
                                            </td>
                                            <td align="right">
                                                <asp:Label ID="lbleducessoncvd" runat="server" Style="text-align: right;" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="font-weight: bold;">
                                                Custom Edu Cess
                                            </td>
                                            <td align="right">
                                                <asp:Label ID="lblcustomeducess" runat="server" Style="text-align: right;" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="font-weight: bold;">
                                                H.Custom Edu Cess
                                            </td>
                                            <td align="right">
                                                <asp:Label ID="lblhcustomeducess" runat="server" Style="text-align: right;" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="font-weight: bold;">
                                                Duty Payable
                                            </td>
                                            <td align="right">
                                                <asp:Label ID="lbldutypayable" runat="server" Style="text-align: right;" />
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                                <td style="width: 50%;" align="right">
                                    <table style="width: 80%; margin-top: 5px; margin-bottom: 5px;">
                                        <tr>
                                            <td style="font-weight: bold; width: 20%;">
                                                Total Item Quantity
                                            </td>
                                            <td align="right" style="width: 30%;">
                                                <asp:Label ID="lbltotalitemqty" runat="server" Style="text-align: right;" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="font-weight: bold; width: 20%;">
                                                Total Landed Cost
                                            </td>
                                            <td align="right" style="width: 30%;">
                                                <asp:Label ID="lbltotallandedcost" runat="server" Style="text-align: right;" />
                                            </td>
                                        </tr>
                                        <tr style="display: none;">
                                            <td style="font-weight: bold; width: 20%;">
                                                Total Inventory Cost
                                            </td>
                                            <td align="right" style="width: 30%;">
                                                <asp:Label ID="lbltoalinventorycost" runat="server" Style="text-align: right;" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="font-weight: bold; width: 20%;">
                                                Clearing/Freight
                                            </td>
                                            <td align="right" style="width: 30%;">
                                                <asp:Label ID="lblclearingfreight" runat="server" Style="text-align: right;" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="font-weight: bold; width: 20%;">
                                                Packaging Charge
                                            </td>
                                            <td align="right" style="width: 30%;">
                                                <asp:Label ID="lblpackingcharge" runat="server" Style="text-align: right;" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="font-weight: bold; width: 20%;">
                                                Insurance
                                            </td>
                                            <td align="right" style="width: 30%;">
                                                <asp:Label ID="lblInsurance" runat="server" Style="text-align: right;" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="font-weight: bold; width: 20%;">
                                                Other Charges
                                            </td>
                                            <td align="right" style="width: 30%;">
                                                <asp:Label ID="lblOtherCharges" runat="server" Style="text-align: right;" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="font-weight: bold; width: 20%;">
                                                Grand Total
                                            </td>
                                            <td align="right" style="width: 30%;">
                                                <asp:Label ID="lblgrandtotal" runat="server" Style="text-align: right;" />
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="tab-content" id="tabOther" runat="server">
                    <table class="tablecontent" style="width: 100%; margin-top: 5px;">
                        <tr>
                            <td style="width:50%;">
                                <table style="width: 80%;">
                                    <tr>
                                        <td style="font-weight: bold; width:30%;">
                                            Billing Address
                                        </td>
                                        <td style="width:50%;">
                                            <asp:Label ID="lblbillingaddress" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="font-weight: bold; width:30%;">
                                            Delivery Address
                                        </td>
                                        <td style="width:50%;">
                                            <asp:Label ID="lbldeliveryaddress" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                   <tr>
                                        <td style="font-weight: bold; width:30%;">
                                            Narration
                                        </td>
                                        <td style="width:50%;">
                                            <asp:Label ID="lblnarration" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="font-weight: bold; width:30%;">
                                            Remarks
                                        </td>
                                        <td style="width:50%;">
                                            <asp:Label ID="lblremarks" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td style="width:50%;">
                                <table style="width: 80%;">
                                    <tr>
                                        <td style="font-weight: bold;">
                                            Mode of Delivery
                                        </td>
                                        <td>
                                            <asp:Label ID="lblmodeofdelivery" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="font-weight: bold;">
                                            Delivery Date
                                        </td>
                                        <td>
                                            <asp:Label ID="lbldeliverydate" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="font-weight: bold;">
                                            Document NO.
                                        </td>
                                        <td>
                                            <asp:Label ID="lbldocno" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="font-weight: bold;">
                                            Transporter Name
                                        </td>
                                        <td>
                                            <asp:Label ID="lbltransportname" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="font-weight: bold;">
                                            Vehicle Number
                                        </td>
                                        <td>
                                            <asp:Label ID="lblvehicleno" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="font-weight: bold;">
                                            Prepared By
                                        </td>
                                        <td>
                                            <asp:Label ID="lblpreparedby" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="font-weight: bold;">
                                            Checked By
                                        </td>
                                        <td>
                                            <asp:Label ID="lblcheckedby" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="font-weight: bold;">
                                            Authorized Signatory
                                        </td>
                                        <td>
                                            <asp:Label ID="lblauthorizedby" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    
                                </table>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
